package demo6;

public class Derived extends Base{
    public int c = 10;
    public int a = 20;
    public void method(){
        System.out.println(this.a);
        System.out.println(this.b);
        System.out.println(this.c);
        System.out.println(super.a);
    }

    /*public static void func(){
        System.out.println(super.a);
    }*/

}
